#ifndef _HCC_ERROR_CODE_DRV_PER_FEE_H_
#define _HCC_ERROR_CODE_DRV_PER_FEE_H_

#include "ofc_types.h"
#include "hcc_error_code.h"
#include "hcc_error_code_drv.h"

#ifdef __cplusplus
extern "C" {
#endif

// 不含行号的错误码生成
#define HCC_MAKE_DRV_PER_FEE_ERROR(error_code) (int)HCC_MAKE_DRIVER_ERROR(kHccDrvPerFee, error_code, HCC_ERROR_LEVEL_ERROR)
// 含行号的错误码生成
#define HCC_MAKE_DRV_PER_FEE_ERROR_LINE(error_code) (int)HCC_ERROR(HCC_MAKE_DRIVER_ERROR(kHccDrvPerFee, error_code, HCC_ERROR_LEVEL_ERROR))


/**
 * 外设Fee驱动:外设Fee驱动
 */
enum THccDrvPerFeeTag
{
	kHccDrvPerFeeSuccess	=	HCC_ERROR_SUCCESS,			///< 成功,没有错误
	kHccDrvPerFeeParam	=	HCC_MAKE_DRV_PER_FEE_ERROR(0),			///<参数错误
	kHccDrvPerFeeCallBack	=	HCC_MAKE_DRV_PER_FEE_ERROR(1),			///<回调函数未设置
	kHccDrvPerFeeOutOfRange	=	HCC_MAKE_DRV_PER_FEE_ERROR(2),			///<超出范围
	kHccDrvPerFeeOpened	=	HCC_MAKE_DRV_PER_FEE_ERROR(3),			///<设备已打开
	kHccDrvPerFeeClosed	=	HCC_MAKE_DRV_PER_FEE_ERROR(4),			///<设备已关闭
	kHccDrvPerFeeFail	=	HCC_MAKE_DRV_PER_FEE_ERROR(5),			///<操作失败
	kHccDrvPerFeeNotAligned	=	HCC_MAKE_DRV_PER_FEE_ERROR(6),			///<边界未对齐
	kHccDrvPerFeeTimeout	=	HCC_MAKE_DRV_PER_FEE_ERROR(7),			///<处理超时
	kHccDrvPerFeeNotReady	=	HCC_MAKE_DRV_PER_FEE_ERROR(8),			///<未准备好
};
typedef enum THccDrvPerFeeTag THccDrvPerFee;


typedef Int32 THccDrvPerFeeLine;
#define kHccDrvPerFeeSuccessLine	HCC_ERROR_SUCCESS	///< 成功,没有错误
#define kHccDrvPerFeeParamLine	HCC_MAKE_DRV_PER_FEE_ERROR_LINE(0)	///<参数错误
#define kHccDrvPerFeeCallBackLine	HCC_MAKE_DRV_PER_FEE_ERROR_LINE(1)	///<回调函数未设置
#define kHccDrvPerFeeOutOfRangeLine	HCC_MAKE_DRV_PER_FEE_ERROR_LINE(2)	///<超出范围
#define kHccDrvPerFeeOpenedLine	HCC_MAKE_DRV_PER_FEE_ERROR_LINE(3)	///<设备已打开
#define kHccDrvPerFeeClosedLine	HCC_MAKE_DRV_PER_FEE_ERROR_LINE(4)	///<设备已关闭
#define kHccDrvPerFeeFailLine	HCC_MAKE_DRV_PER_FEE_ERROR_LINE(5)	///<操作失败
#define kHccDrvPerFeeNotAlignedLine	HCC_MAKE_DRV_PER_FEE_ERROR_LINE(6)	///<边界未对齐
#define kHccDrvPerFeeTimeoutLine	HCC_MAKE_DRV_PER_FEE_ERROR_LINE(7)	///<处理超时
#define kHccDrvPerFeeNotReadyLine	HCC_MAKE_DRV_PER_FEE_ERROR_LINE(8)	///<未准备好

#ifdef __cplusplus
}  // extern "C"
#endif

#endif // _HCC_ERROR_CODE_DRV_PER_FEE_H_
/**
 * @
 */
